package ywpt.service.knowledge;

import org.hibernate.criterion.DetachedCriteria;

import ywpt.model.KnowMsg;
import ywpt.model.PageResultSet;

public interface KnowMsgService {

	public abstract KnowMsg getKnowMsgById(Long id);

	public abstract void saveKnowMsg(KnowMsg knowMsg, Long knowLibId,
			Long peopleId, Long departId, Long positionId);
	
	
	public PageResultSet<KnowMsg> queryByPage(int pageSize,int Page,DetachedCriteria query);

	public abstract void removeMsg(Long id);

}
